package com.example.demo.model;

import lombok.Data;

import java.util.Date;

@Data
public class MessageInfo {
//     `id` INT ( 11 ) NOT NULL AUTO_INCREMENT,
//        `from` VARCHAR ( 127 ) NOT NULL,
//        `to` VARCHAR ( 127 ) NOT NULL,
//        `message` VARCHAR ( 256 ) NOT NULL,
//        `delete_flag` TINYINT ( 4 ) DEFAULT 0 COMMENT '0-正常, 1-删除',
//            `create_time` DATETIME DEFAULT now(),
//        `update_time` DATETIME DEFAULT now() ON UPDATE now(),
//    PRIMARY KEY ( `id` )
    private Integer id;
    private String from;
    private String to;
    private String message;
    private Date createTime;
    private Date updateTime;

}
